CFLAG= -std=c++11 -I ../../../../../build/release-install-cpp11/include/
LFLAG= -L../../../../../build/release-install-cpp11/lib -lmuduo_net -lmuduo_base -lpthread -ljsoncpp
all: reg_server myserver myclient
reg_server:registry_server.cpp
	g++ -o $@ $^ $(CFLAG) $(LFLAG)
myserver:rpc_server.cpp
	g++ -o $@ $^ $(CFLAG) $(LFLAG)
myclient:rpc_client.cpp
	g++ -o $@ $^ $(CFLAG) $(LFLAG)
.PHONY:clean
clean:
	rm -f reg_server myserver myclient